package com.hytc.mymall.frgament;

import android.view.View;

import com.hytc.mymall.base.BaseFragment;


/**
 * Created by allkiss on 2016/12/9
 */

public class TurnoverFragment extends BaseFragment implements View.OnClickListener/*LazyViewPager.OnPageChangeListener*/
{
    @Override
    public void onClick(View v) {

    }

    @Override
    public void initView(View p0) {

    }
//    private FragmentPagerAdapter adapter;
//    private ImageView iv_arrow;
//    public SelectPopItemClickListener listener;
//    public LinearLayout ll_nodata;
//    private SelectPop pop;
//    private RelativeLayout rl_right;
//    private TextView tv_selection;
//
//    private void initData() {
//        this.pop = new SelectPop(this.getActivity(), Arrays.asList(this.getResources().getStringArray(2131427332)), this.iv_arrow, this.tv_selection, false, new SelectPopCallback() {
//            @Override
//            public void onItemClick(final int n) {
//                TurnoverFragment.this.listener.onSelectPopItemClickListener(n);
//            }
//        });
//    }
//
//    @Override
//    public void initView(final View view) {
//        final TextView textView = this.$(view, 2131100411);
//        this.rl_right = this.$(view, 2131100413);
//        this.iv_arrow = this.$(view, 2131100417);
//        this.tv_selection = this.$(view, 2131100416);
//        this.ll_nodata = this.$(view, 2131099755);
//        final LazyViewPager viewPager = this.$(view, 2131099948);
//        final LazyTabPageIndicator lazyTabPageIndicator = this.$(view, 2131099947);
//        textView.setText((CharSequence)this.getResources().getString(2131361981));
//        final int usertype = ActivityManager.loginBean.usertype;
//        viewPager.setAdapter(this.adapter = new MyLoveIndicatorAdapter(this.getChildFragmentManager(), this.getResources().getStringArray(2131427339), "turnover"));
//        lazyTabPageIndicator.setViewPager(viewPager);
//        lazyTabPageIndicator.setOnPageChangeListener(this);
//        this.rl_right.setVisibility(View.GONE);
//        this.rl_right.setOnClickListener((View.OnClickListener)this);
//    }
//
//    public void onClick(final View view) {
//        switch (view.getId()) {
//            default: {}
//            case 2131100413: {
//                this.pop.showPop();
//            }
//        }
//    }
//
//    public View onCreateView(final LayoutInflater layoutInflater, final ViewGroup viewGroup, final Bundle bundle) {
//        return layoutInflater.inflate(2130903081, (ViewGroup)null);
//    }
//
//    public void onPageScrollStateChanged(final int n) {
//    }
//
//    public void onPageScrolled(final int n, final float n2, final int n3) {
//    }
//
//    public void onPageSelected(final int n) {
//        if (n == 0) {
//            this.rl_right.setVisibility(View.GONE);
//            return;
//        }
//        this.rl_right.setVisibility(View.VISIBLE);
//    }
//
//    @Override
//    public void onViewCreated(final View view, final Bundle bundle) {
//        super.onViewCreated(view, bundle);
//        this.initData();
//    }
//
//    public void setSelectPopItemClickListener(final SelectPopItemClickListener listener) {
//        this.listener = listener;
//    }
//
//    public interface SelectPopItemClickListener
//    {
//        void onSelectPopItemClickListener(final int p0);
//    }
}
